package com.deke.home.controller;

import com.deke.home.service.CrmBannerService;
import com.deke.vo.Result;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.swing.*;

/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/12/21 16:47
 * @description：
 * @modified By：
 * @version:
 **/
@Api(tags = "前端轮播图")
@RequestMapping("/home/qian/banner")
@RestController
public class QianBannerController {
    @Autowired
    private CrmBannerService bannerService;

    @GetMapping("getQianBanner")
    public Result getQianBanner(){
        return bannerService.getQianBanner();
    }
}